package com.system.mapper;

import com.system.entity.Teacher;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.Set;

/**
 * <p>
 * 教师表 Mapper 接口
 * </p>
 *
 * @author zfc
 * @since 2023-04-20
 */
@Mapper
public interface TeacherMapper extends BaseMapper<Teacher> {

    /**
     * 通过用户名查询信息【区分大小写】
     * @param username
     * @return
     */
    Teacher getTeacherByUserName(String username);


}
